﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tour.Helper
{
    public static class PagerHelper
    {
        /// <summary>
        /// 转换成Int值
        /// </summary>
        /// <param name="o"></param>
        /// <returns></returns>
        public static int GetInt(object o)
        {
            int result = 0;
            Int32.TryParse(o.ToString(), out result);
            return result;
        }
    }
}
